﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Diagnostics;

namespace MsgService
{
    public class Service : IService
    {
        public bool sengMsg(string aimPeople, string msgContent)
        {
            try
            {
                Uri url = new Uri("http://w.ibtf.net/f.php?phone=15813354600&pwd=wucaihong1&to=" + aimPeople + "&msg=" + msgContent + "&type=0");
                Process.Start(url.ToString());
                return true;
            }
            catch (Exception ex)
            {
                return false;
            }
        }
    }
}
